if exist "Community Pom EN [v1.0] SplitBin.bin" del "Community Pom EN [v1.0] SplitBin.bin"
set binfullname=%~n1
copy /b "%binfullname% (Track 1).bin" + "%binfullname% (Track 2).bin" + "%binfullname% (Track 3).bin" + "%binfullname% (Track 4).bin" + "%binfullname% (Track 5).bin" "Community Pom EN [v1.0] SplitBin.bin"

xdelta3 -d -s "Community Pom EN [v1.0] SplitBin.bin" "../redump_patch/Community Pom EN [v1.0-1999] Redump.xdelta" "Community Pom EN [v1.0] SplitBin.bin_patched"

if exist "Community Pom EN [v1.0] SplitBin.bin" del "Community Pom EN [v1.0] SplitBin.bin"
move "Community Pom EN [v1.0] SplitBin.bin_patched" "Community Pom EN [v1.0] SplitBin.bin"